
<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <#include "../common/head.ftl">
</head>
<body>

<div class="container " style="margin-top: 20px">
    <#include "../common/top.ftl">
    <div class="row">
        <div class="col-sm-3">
            <#--设置当前要回显当前菜单,必须在载人菜单前完成设置-->
            <#assign menu = "user"/>
            <#include "../common/menu.ftl">
        </div>
        <div class="col-sm-9">
            <div class="row">
                <div class="col-sm-12">
                    <h1 class="page-head-line">注册用户管理</h1>
                </div>
            </div>
            <#--高级查询--->
            <form class="form-inline" id="searchForm" action="/user/list.do" method="post">
                <input type="hidden" id="currentPage" name="currentPage" value="1">
                <div class="form-group">
                    <label>关键字:</label>
                    <input type="text" class="form-control" name="keyword" value="${(qo.keyword)!}"
                           placeholder="请输入昵称/邮箱">
                </div>
                <button id="btn_query" class="btn btn-info">
                    <span class="glyphicon glyphicon-search"></span> 查询
                </button>

            </form>

            <table class="table table-striped table-hover" >
                <tr>
                    <th>邮箱</th>
                    <th>昵称</th>
                    <th>城市</th>
                    <th>头像</th>
                    <th>性别</th>
                    <th>签名</th>
                </tr>

                <#list pageInfo.list as u>
                <#--遍历查询得到的每一个domain对象-->
                    <tr>
                        <td>${u.email!}</td>
                        <td>${u.nickName!}</td>
                        <td>${u.place!}</td>
                        <td><img src="${u.headImgUrl!}" width="40px"></td>
                        <td>${u.genderName!}</td>
                        <td>${u.sign!}</td>
                    </tr>
                </#list>

            </table>
            <#include "../common/page.ftl">
        </div>
    </div>
</div>
</body>
</html>